def handleClick(sender, eventargs):
    sender.FontWeight = FontWeights.ExtraBold
    
button = me['Button1']
button.Click += handleClick

me["Button2"].Click += handleClick
me["Button3"].Click += handleClick
